package com.chaos.framework.model.dto.login;

import com.chaos.framework.model.dto.ID;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author Jacky
 * 登录用户(在线)
 */
@Data
@NoArgsConstructor
public class LoginUser extends ID {
    private String ip;
    private String loginTime;

    public LoginUser(Long id, String ip, String loginTime) {
        this.setId(id);
        this.ip = ip;
        this.loginTime = loginTime;
    }
}
